<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/orderHead.css"/>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/footer.css"/>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/SuccessOrder.css"/>
		<script type="text/javascript" src="{{__PUBLIC__}}/Home/js/jquery-1.8.2.min.js"></script>
		<style>
			#progress-cart-dy{
                display: none;
            }
            #progress-confirm-dy{
                display: none;
            }
			 #progress-submit-dy{
                display: block;
            }
		</style>
	</head>
	<body>
		<!--顶部登陆-->
		{{include file="VIEW_PATH/Common/orderHead.php"}}

	<!--顶部logo 结束-->
	<!--支付订单-->
	<div class="pay_order">
		<div class="order-confirm order-confirm-expand" id="order-confirm-detail">
		<div class="h">
			<s class="icon-success-7"></s>
			<h3>订单提交成功，请您尽快付款！</h3>	
			<p name="order-pay-info" ordertype="">订单号：&nbsp;&nbsp;{{$orderData['number']}}&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;付款金额（元）：&nbsp;&nbsp;<b>
				{{$orderData['total']}}
			</b>&nbsp;<b>元</b></p>
			<div class="tips">请您在&nbsp;&nbsp;<b id="lastPayTime">{{$orderData['offtime']}}</b>&nbsp;完成支付，否则订单将自动取消。</div>
			<div class="hr-5"></div>
		</div>
		<div class="b">
			<table border="0" cellpadding="0" cellspacing="0">
				<tbody>
				
					<tr>
						<th>订单编号：</th>
						<td><span>{{$orderData['number']}}</span></td>
					</tr>
					<tr>
						<th>订单金额：</th>
						<td>
							{{$orderData['total']}}元	
						</td>
					</tr>
					
					<tr>
						<th>收货信息：</th>
						<td>
							{{$orderData['address']}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							{{$orderData['consignee']}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							{{$orderData['mobile']}}
						</td>
					</tr>

					
					<tr>
						<th>购买日期：</th>
						<td>{{date('Y-m-d H:i:s',$orderData['time'])}}</td>
					</tr>
					<tr>
						<th>配送方式：</th>
						<td>
							{{$orderData['delivery']}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							运费￥0.00							
						</td>
					</tr>
					<tr>
						<th>发票信息：</th>
						<td>个人</td>
					</tr>
					
				</tbody>
			</table>
		</div>
		<div class="f"><a href="javascript:;" id="order_details">订单详情<i></i><s></s><b></b></a></div>
		<script type="text/javascript">
			$(function(){
				$('#order_details').click(function(){
					if($('#order-confirm-detail .b').css("display")=="none"){
						$('#order-confirm-detail .b').show();
					}else{
						$('#order-confirm-detail .b').hide();
					}
				})
			})
		</script>
	</div>
	</div>
	<!--支付订单结束-->
	<div class="order-form-area" style="margin-bottom: 50px;">
<div class="order-payment" id="order-payment-mod">
	<h3 class="title">支付方式
		<!--<b>[&nbsp;<a title="重新选择支付方式" href="javascript:;" onclick="ec.order.payment.edit()">重新选择</a>&nbsp;]</b>-->
	</h3>
	<!--订单-表单-支付方式列表结束 -->
	<!--订单-表单-支付方式确认- -->
	<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/hdjs/hdjs.css"/>
		<script type="text/javascript" src="{{__PUBLIC__}}/Home/hdjs/hdjs.min.js"></script>
		<script type="text/javascript">
			$(function(){
				$('#form_pay').validate({
					pay_text:{
						rule:{
							required:true,
							regexp:/^[0-9]*$/,
							confirm:'money'
						},
						error:{
							required:'价格不能为空',
							regexp:'请写数字',
							confirm:'金额不正确'
						},
						success:'金额正确'
					}
				})
			})
			
		</script>
		<style type="text/css">
			#pay{
				text-indent: 2em;
				height: 35px;
				border: 1px solid #999999;
			}
			#pay:focus{
				border: 1px solid #0000FF;
			}
			#hd_pay_text{
				display: inline-block;
				width: 500px;
				position: absolute;
				top: 40px;
				left: 100px;
			}
		</style>
    <div style="display: block;" class="order-payment-define-area hide" id="order-payment-define-area">
		<div class="b" style="position: relative;">
			<dl>
				<dd>
					<div class="payment-area vam">
						<form action="{{U('Orders/pay')}}" method="post" id="form_pay">
							<label for="pay">填写支付金额&nbsp;:&nbsp;</label>
							<input type="text" name="pay_text" id="pay"/>
							<input type="hidden" name="money" value="{{intval($orderData['total'])}}">
							<input type="hidden" name="oid" value="{{$orderData['oid']}}">
							<span id="hd_pay_text"></span>
					</div>
					<div class="inline-block vam"><span class="order-payment-price">您需要支付&nbsp;<b id="need">{{$orderData['total']}}</b>&nbsp;<b>元</b></span></div>
				</dd>
			</dl>
		</div>
		<div class="f">
		<input type="submit" class="button-style-5 button-confirm-payment" value="立即支付">
		<!-- <a href="" class="button-style-5 button-confirm-payment" id="go2pay" target="_blank">立即支付</a> -->
		</div>
		</form>
    </div>
	<!--订单-表单-支付方式确认结束 -->

	</div>
</div>
<!--引入公共底部-->
	{{include file="VIEW_PATH/Common/footer.php"}}
	</body>
</html>
